* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

body {
    background-color: #CDCDCD;
}

/* 中心区域 */
.center {
    width: 600px;
    margin: 0 auto;
}

/* 头部样式 */
header {
    height: 50px;
    background-color: rgba(47, 47, 47, 0.98);
}

header .center {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

header span {
    font-size: 24px;
    color: #DDD;
}

header input {
    width: 60%;
    height: 24px;
    text-indent: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24), 0 1px 6px rgba(0, 0, 0, 0.45) inset;
    border: none;
}

/* 标题样式 */
h2 {
    margin: 20px 0;
}

h2 span {
    float: right;
    margin-top: 5px;
    padding: 0 5px;
    font-size: 14px;
    color: #666;
    line-height: 22px;
    text-align: center;
    border-radius: 20px;
    background-color: #E6E6FA;
}

/* 通用列表样式 */
ul li {
    display: flex;
    height: 36px;
    margin-bottom: 10px;
    align-items: center;
    border-radius: 3px;
    border-left: 5px solid #629A9C;
    background-color: #fff;
}

ul li input {
    width: 22px;
    height: 22px;
    margin: 0 8px;
    cursor: pointer;
}

ul li input.text {
    width: 300px;
    margin-right: auto;
}

ul li p {
    flex-grow: 2;
}

ul li span {
    width: 14px;
    height: 12px;
    margin-right: 5px;
    font-size: 14px;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    line-height: 14px;
    border-radius: 14px;
    border: 6px double #FFF;
    background-color: #CCC;
    cursor: pointer;
}

/* 已经完成的列表样式 */
.done li {
    border-left: 5px solid #999;
    opacity: 0.5;
}

footer{color:#666;font-size:14px;text-align:center;}
footer a{color:#666;text-decoration:none;color:#999;}